package com.jumi.microservice.material.service;

import com.jumi.microservice.common.base.dto.ResponseResult;
import com.jumi.microservice.material.dto.JmGoodsResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author ssk
 * @create 2020/8/21 15:38
 **/
@RequestMapping("/goods")
public interface IJmGoodsService {
    @GetMapping("/findAllByName")
    ResponseResult<List<JmGoodsResponse>> findAllByName(@RequestParam("goodsName") String goodsName);
}